package com.zk.yygh.hosp.service;

import com.zk.yygh.model.hosp.Hospital;
import com.zk.yygh.vo.hosp.HospitalQueryVo;
import com.zk.yygh.vo.order.SignInfoVo;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author: 张凯
 * @date: 2022/6/3 - 21:16
 */
public interface HospitalService {
    //上传医院
    void save(Map<String, Object> parameterMap);
    //查询医院
    Hospital getHospitalByHoscode(String hoscode);
    //分页查询
    Page<Hospital> selectPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

    //更新医院状态
    void updateStatus(String id, Integer status);

    //通过医院id查询医院
    HashMap<String, Object> getHospitalById(String id);

    //通过医院名字查询医院
    List<Hospital> findHospitalByName(String name);

    //通过医院编码获取医院详情
    HashMap<String, Object> getHospitalDetailByHoscode(String hoscode);

}
